SELECT * FROM(
SELECT field0007 ts FROM formmain_2357
ORDER BY field0007 DESC
)WHERE ROWNUM = 1